package com.xueqi.service;

import com.xueqi.bean.EbookEntry;

import java.util.List;

public interface EbookEntryService {
    //查询列表
    public List<EbookEntry> findall(int typeid,int pageindex,int pagesize);

    //添加书籍
    public int addBook(EbookEntry entry);

    //主键查询
    public EbookEntry findbyid(int id);

    //更新列表
    public int UpdateBook(EbookEntry entry);
    //删除
    public int DeleteBook(int tid);
    //总条数
    public int totalcount(int typeid);
}